//
//  PHXQCell.m
//  LastTemp
//
//  Created by apple on 15/4/24.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "PHXQCell.h"

@implementation PHXQCell
-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.nameLabel = [[UILabel alloc] init];
        [self.contentView addSubview:self.nameLabel];
        [_nameLabel release];
        self.singerLabel = [[UILabel alloc] init];
        [self.contentView addSubview:self.singerLabel];
        [_singerLabel release];
    }
    return self;
}

-(void)layoutSubviews
{
    [super layoutSubviews];
    self.nameLabel.frame = CGRectMake(20, 5, 200, 20);
    self.singerLabel.frame = CGRectMake(20, 35, 200, 20);
    self.singerLabel.font = [UIFont systemFontOfSize:14];
}
-(void)dealloc
{
    [_singerLabel release];
    [_nameLabel release];
    [super dealloc];
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
